package com.moju.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CenterController {
    @RequestMapping("/main")
    public String toMainPage(){
        return "main";
    }

    @RequestMapping("/top")
    public String toTopPage(){
        return "top";
    }
    // localhost:8080
    @RequestMapping("/index")
    public String toIndexPage(){
        return "index";
    }

    @RequestMapping("/left")
    public String toLeftPage(){
        return "left";
    }


    @RequestMapping("/right")
    public String toRightPage(){
        return "right";
    }

}
